home *** CD-ROM | disk | FTP | other *** search
Makefile | 1994-01-12 | 1.1 KB | 69 lines |
- # CV Makefile for the GNU C/C++ Compiler on the Commodore Amiga
- # (c)Copyright 1991-93 by Tobias Ferber, All Rights Reserved
-
- CC=gccv
-
- DEFINES=
- CFLAGS= -O $(DEFINES)
-
- LIBS= -L/usr/os-lib
-
- # *** / ALL / ***
-
- .PHONY: all
-
- all: cvt
-
-
- # *** / CVT / ***
-
- CVT_OBJS=\
- main.o args.o flist.o rules.o cvtparse.o cvt.o \
- echo.o numdigits.o tfname.o filecopy.o
-
- cvt: $(CVT_OBJS)
- $(CC) $(CFLAGS) $(LIBS) -o $@ $(CVT_OBJS)
-
-
- main.o: main.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
- args.o: args.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
- flist.o: flist.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
- rules.o: rules.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
- cvtparse.o: cvtparse.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
- cvt.o: cvt.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
- numdigits.o: numdigits.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
- tfname.o: tfname.c
- $(CC) $(CFLAGS) -c -o $@ $<
-
- # needs amiga specific includes unless comiled w/ -UAMIGA
- filecopy.o: filecopy.c
- $(CC) $(CFLAGS) -Iinclude: -c -o $@ $<
- # $(CC) $(CFLAGS) -UAMIGA -c -o $@ $<
-
- # getenv.o is needed for unregistered DICE's c.lib only
- # (uses ENV: instead of shell variables)
- #getenv.o: getenv.c
- # $(CC) $(CFLAGS) -c -o $@ $<
-
-
- # *** / CLEAN / ***
-
- .PHONY: clean
-
- clean:
- rm *.o cvt
-